package com.example.testspringcloud.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author hzd
 * @date 2022/7/6 9:14
 */
@RestController
public class TestController {

  @RequestMapping("/hello")
  public String hello(){
    return "Hello,SpringBoot!";
  }


  @RequestMapping("/hi")
  public String hi(){
    return "hi,SpringBoot!";
  }


  @RequestMapping("/test")
  public String test(){
    return "test,SpringBoot!";
  }

  @RequestMapping("/test1")
  public String test1(){
    return "test1,SpringBoot!";
  }

}
